<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>StatusBarText</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">StatusBarText()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#3A3966"><b>StatusBarText</b></font>(#StatusBar, Field, Text$ [, Appearance])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Sets the text for the specified status bar field. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#StatusBar</i></td>
<td width="90%"> 
 
The status bar to use. 

 

</td></tr>
<tr><td><i>Field</i></td>
<td> 
 
The field index to set the text. The first field index starts from zero. 

 

</td></tr>
<tr><td><i>Text$</i></td>
<td> 
 
The text to set to the specified statusbar field. 

 

</td></tr>
<tr><td><i>Appearance (optional)</i></td>
<td> 
 
It can be used to alter the look of the field with the following values: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_StatusBar_Raised</font>    : raised borders (has no effect on OS X)
  <font color="#924B72">#PB_StatusBar_BorderLess</font>: without border 
  <font color="#924B72">#PB_StatusBar_Center</font>    : center the text in the field
  <font color="#924B72">#PB_StatusBar_Right</font>     : align the text to the right of the field
</font></pre>

The options can be combined together with the '|' (OR) operator : 
 
<pre><font face="Courier New, Courier, mono"size="2">  #PB_StatusBar_BorderLess | #PB_StatusBar_Right : Borderless right aligned field.
</font></pre>

For a working example look at <a href="createstatusbar.html">CreateStatusBar()</a>. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=statusbarprogress.html>StatusBarProgress()</a> - <a href="index.html">StatusBar Index</a><br><br>

</body></html>